CacheStorageDomain

class CacheStorageDomain : Domain

CacheStorageDomain represents CacheStorage protocol domain request/response operations and events that can be captured.

This API is marked as experimental in protocol definition and can change in the future.

Functions

deleteCache
Link copied to clipboard
fun deleteCache(input: DeleteCacheRequest): Single<RequestResponseFrame>
Deletes a cache.
deleteEntry
Link copied to clipboard
fun deleteEntry(input: DeleteEntryRequest): Single<RequestResponseFrame>
Deletes a cache entry.
description
Link copied to clipboard
fun description(): String
Returns domain description.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getDependencies
Link copied to clipboard
open fun getDependencies(): List<Domain>
Returns domain dependencies.
name
Link copied to clipboard
fun name(): String
Returns domain name.
requestCachedResponse
Link copied to clipboard
Fetches cache entry.
requestCacheNames
Link copied to clipboard
fun requestCacheNames(input: RequestCacheNamesRequest): Single<RequestCacheNamesResponse>
Requests cache names.
requestEntries
Link copied to clipboard
fun requestEntries(input: RequestEntriesRequest): Single<RequestEntriesResponse>
Requests data from cache.

Sources

jvm source
Link copied to clipboard